PATH  Mac OS 8 and 9 Developer Documentation > Human Interface Toolbox > Icon Services and Utilities
>
Obtaining and Using Icons With Icon Services

   

OverrideIconRef

Replaces the bitmaps of one IconRef with those of another IconRef .

pascal OSErr OverrideIconRef(
                     IconRef oldIconRef,
                     IconRef newIconRef);

oldIconRef
A pointer to a value of type IconRef whose bitmaps are to be replaced.

newIconRef
A pointer to a value of typeIconRef containing the replacement bitmaps.

function result
A result code. See Icon Services Result Codes for a description of possible return values.

© 1999 Apple Computer, Inc. – (Last Updated 03 Dec 99)